Platform Explorer / Nuxeo Platform 2021.25

Component org.nuxeo.ecm.platform.comment.workflow.notification.service.NotificationContrib

Resolution Order

308
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>

<component
    name="org.nuxeo.ecm.platform.comment.workflow.notification.service.NotificationContrib">


  <extension
      target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService"
      point="notifications">

    <notification name="CommentPublication" channel="email" enabled="true" availableIn="Workspace"
      autoSubscribed="false" template="comment" subject="Comment published" label="notifications.name.CommentPublication">
      <event name="commentPublished"/>
    </notification>

  </extension>

  <extension
    target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService"
    point="templates">

    <template name="comment" src="templates/comment.ftl" />

  </extension>

</component>